package cn.xin.user.mapper;

import cn.xin.user.domain.User;
import cn.xin.base.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xin
 * @since 2022-12-30
 */
public interface UserMapper extends BaseMapper<User> {

    //查询手机号
    User findByPhone(String phone);

    User findByLoginInfoId(Long id);
}
